package com.jdrx.sw.sewage.dao;

import com.jdrx.platform.jdbc.dao.BaseDAO;
import com.jdrx.sw.sewage.beans.entity.MessageSubscribePO;
import com.jdrx.sw.sewage.beans.vo.MessageSubscribeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 物料DAO（sewage_materiel）
 * Created by generator on 2020-10-12.
 */
@Mapper
public interface MessageSubscribeDAO extends BaseDAO<MessageSubscribePO> {

    List<MessageSubscribeVO> getList(@Param("uid") Long uid, @Param("stationIds") List<Long> stationIds);

    List<Long> selectMessageByStationIdAndType(@Param("stationId") Long stationId,
                                               @Param("type") Integer type,
                                               @Param("dataNode") String dataNode);
}